package cn.harvest.storage.po;

import java.util.HashSet;
import java.util.Set;

/**
 * Employment entity. @author MyEclipse Persistence Tools
 */

public class Employment implements java.io.Serializable {

	// Fields

	private Integer employmentId;
	private String employmentName;
	private Set employees = new HashSet(0);

	// Constructors

	/** default constructor */
	public Employment() {
	}

	public Employment(Integer employmentId) {
		this.employmentId = employmentId;
	}
	
	/** full constructor */
	public Employment(String employmentName, Set employees) {
		this.employmentName = employmentName;
		this.employees = employees;
	}

	// Property accessors

	public Integer getEmploymentId() {
		return this.employmentId;
	}

	public void setEmploymentId(Integer employmentId) {
		this.employmentId = employmentId;
	}

	public String getEmploymentName() {
		return this.employmentName;
	}

	public void setEmploymentName(String employmentName) {
		this.employmentName = employmentName;
	}

	public Set getEmployees() {
		return this.employees;
	}

	public void setEmployees(Set employees) {
		this.employees = employees;
	}

}